#include "start_win.h"
idata s16 num = 0;
#define START_WIN_NUM_VP		0x2000

void start_win_btn_click_handler(u16 btn_val)
{
	switch(btn_val)
	{
		case 1://???"??"??
		case 2://???"0"??
			btn_val = 2-btn_val;
			sys_write_vp(0x2000,(u8*)&btn_val,1);//????
			sys_config(btn_val,1);//????
			break;

		case 3://???"??"??
			sys_read_vp(0x2002,(u8*)&btn_val,1);//?????
			sys_led_config(btn_val,5,500);
			break;
		default:
			break;
	}
}